using System.ComponentModel.DataAnnotations;

namespace CustomerManagementSystem.Application.DTOs;

public class CustomerDTO
{
    public Guid Id { get; set; }

    [Required]
    [StringLength(50)]
    public string Username { get; set; }

    [Required]
    [EmailAddress]
    public string Email { get; set; }

    [Required]
    [StringLength(20)]
    public string PhoneNumber { get; set; }

    [Required]
    [StringLength(50)]
    public string FirstName { get; set; }

    [Required]
    [StringLength(50)]
    public string LastName { get; set; }

    [StringLength(200)]
    public string Address { get; set; }
}
